package com.hxkj.dao;

import com.hxkj.domain.po.LabelManagement;
import com.hxkj.domain.vo.LabelManagementVO;

import java.util.List;
import java.util.Map;

/**
* 标签管理表数据操作接口
*
* @author: chenwei
* @version: 1.0
* @datetime: 2018-07-19 17:28:12
*
*/
public interface LabelManagementDao {

    /**
    *
    * 根据主键查询LabelManagement对象
    *
    * @param labelId
    * @return LabelManagement对象
    */
    LabelManagement get(Long labelId);

    /**
    *
    * 根据查询条件查询符合条件的LabelManagement对象
    *
    * @param labelManagement
    * @return 符合条件的LabelManagement对象List
    */
    List<LabelManagement> get(LabelManagement labelManagement);

    List<LabelManagementVO> getList(LabelManagement labelManagement);

    /**
    *
    * 根据主键删除LabelManagement对象
    *
    * @param labelId
    * @return 影响条件数
    */
    int delete(Long labelId);

    /**
    *
    * 根据条件删除符合条件的LabelManagement对象
    *
    * @param labelManagement
    * @return 影响条件数
    */
    int delete(LabelManagement labelManagement);

    /**
    *
    * 插入LabelManagement对象
    *
    * @param labelManagement
    * @return 影响条件数
    */
    int save(LabelManagement labelManagement);

    /**
    *
    * 更新LabelManagement对象
    *
    * @param labelManagement
    * @return 影响条件数
    */
    int update(LabelManagement labelManagement);

    int deleteLabelManagement(Map<String, Object> map);

}
